
const avatar = async (req, res, next) => {
    res.set('content-type', 'application/json; charset=utf-8')
    console.log(req.file)
    const filename = req.file.filename
    res.render('succ', {
        data: JSON.stringify({
            filename: filename,
        })
    })
}

module.exports = {
    avatar,
}